package com.vhall.component.entity.interactive.vo;


import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author shenqing
 * @date 2021/4/14 16:07
 */
@Data
public class DocumentUploadReqVO implements Serializable {
    /**
     * paas房间id
     */
    @ParamName("room_id")
    @Pattern(regexp = "[0-9a-zA-Z_]{1,32}", message = "参数异常")
    private String roomId;
    /**
     * 文档
     */
    @NotNull(message = "不能为空")
    private MultipartFile document;
    /**
     * 用户id
     */
    @ParamName("account_id")
    private Integer accountId;
    /**
     * vss_token
     */
    @ParamName("vss_token")
    private String vssToken;

}
